package com.xkcun.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 渠道表(Channel)表实体类
 *
 * @author yfz
 * @since 2021-08-06 18:20:30
 */
@Data
@TableName("channel")
@ApiModel(description = "渠道表")
public class Channel extends Model<Channel> {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "渠道名称")
    private String name;

    @ApiModelProperty(value = "渠道类别：1自媒体2渠道")
    private Integer type;

    @ApiModelProperty(value = "品牌ID")
    private Integer merchantId;

    @ApiModelProperty(value = "品牌名称")
    private String merchantName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "渠道地址")
    private String address;

    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @ApiModelProperty(value = "市名称")
    private String cityName;

    @ApiModelProperty(value = "地区编码")
    private String districtCode;

    @ApiModelProperty(value = "区名称")
    private String districtName;

    @ApiModelProperty(value = "覆盖城市")
    private String coverCity;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "合作类型  1未合作过 2合作过，3正在合作 ")
    private Integer statusCooperate;

    @ApiModelProperty(value = "历史合作类型  0从未合作1合作过")
    private Integer statusCooperateHistory;

    @ApiModelProperty(value = "创建人ID")
    private String createUserId;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "更新人ID")
    private String updateUserId;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "是否删除：0未删除1已删除")
    private Integer isDel;


}